<html>
	<head>
	</head>
	<body>
		<!-- include SM2 library -->
		<script type="text/javascript" src="script/soundmanager2.js"></script>

		<!-- configure it for your use -->
		<script type="text/javascript">

		soundManager.url = 'swf/'; // directory where SM2 .SWFs live

		/*
		 * Note that SoundManager will determine and append the appropriate .SWF file to the URL,
		 * eg. /path/to/sm2-flash-files/soundmanager2.swf automatically.
		 *
		 * Bonus: Read up on HTML5 audio support, if you're feeling adventurous.
		 * iPad/iPhone and devices without flash installed will always attempt to use it.
		 *
		 * Also, See the flashblock demo when you want to start getting fancy.
		*/

		// disable debug mode after development/testing..
		// soundManager.debugMode = false;

		// The basics: onready() callback

		soundManager.onready(function(){

			// SM2 has loaded - now you can create and play sounds!

			var mySound = soundManager.createSound({
				id: 'aSound',
				url: 'mp3/rain.mp3'
			// onload: myOnloadHandler,
			// other options here..
			});

			mySound.play();

		});

		// Optional: ontimeout() callback for handling start-up failure

		soundManager.ontimeout(function(){

			alert('Hrmm, SM2 could not start. Flash blocker involved? Show an error, etc.?');

		});

		</script>
	</body>
</html>